package com.repair.api.order.request;

import com.repair.api.order.request.condition.OrderCondition;
import com.repair.api.order.request.condition.OrderNumQueryCondition;
import com.repair.base.request.BaseRequest;
import lombok.Data;

/**
 * @author chunyu
 * @since 2024/10/20,12:08
 */
@Data
public class OrderQueryRequest extends BaseRequest {

    private static final long serialVersionUID = 1L;

    private OrderCondition condition;

    public OrderQueryRequest(String orderNum) {
        OrderNumQueryCondition orderNumQueryCondition = new OrderNumQueryCondition();
        orderNumQueryCondition.setOrderNum(orderNum);
        this.condition = orderNumQueryCondition;
    }

}
